/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.services;

import java.util.ArrayList;
import vn.com.pps.entities.Pupil;
import vn.com.pps.web.ui.PupilTableItem;

/**
 *
 * @author Dai
 */
public interface IPupilService {
    public int countPupil();
    public int countPupil(String whereClause);
    public ArrayList<PupilTableItem> getPupils();
    public ArrayList<PupilTableItem> getPupils(int pageNo, int pageSize, String whereClause);
    public Pupil getPupil(Integer id);
    public int savePupil(Pupil pupil);
    public int editPupil(Pupil pupil);
}
